﻿using System.IO;
using System.Runtime.Serialization;
using System.Windows.Media.Media3D;

namespace GameBoard
{
    [DataContract]
    public class ConeVisualData : BaseTerrainData
    {
        [DataMember]
        public double BaseRadius { get; set; }

        [DataMember]
        public double Height { get; set; }

        [DataMember]
        public double TopRadius { get; set; }

        [DataMember]
        public Point3D Origin { get; set; }

        [DataMember]
        public Vector3D Normal { get; set; }

        public override Point3D CenterOfTerrainFeature
        {
            get
            {
                return Origin;
            }
        }

        public override string ItemDescription
        {
            get
            {
                return "Cone";
            }
        }

        public override double ZoomHeight
        {
            get 
            {
                return Height * 2;
            }
        }



    }
}